#define _CRT_SECURE_NO_WARNINGS
#include"byy.h"
int main()
{
	int a[3][4] = { {1,5,7,1} ,{4,2,4,6} ,{4,5,17,7} };
	int* p = *a;
	int max = *p;
	for (int i=0;i<3;i++)
	{
		for (int j = 0; j < 4; j++)
		{
			if (*(p+i*4+j) > max)
			{
				max=*(p + i * 4 + j);
			}
		}
	}
	printf("%d\n",max);
	return 0;
}